Skip to main content

ARDK for Android/com.nianticlabs.ardk.utils/ImageMath/logAffine

logAffine

[androidJvm]
fun Matrix.logAffine(tag: String = "MatrixTest", label: String = "Matrix")

Logs the affine components of this Matrix in a readable format.

Prints the matrix in iOS-style notation: a, b, c, d, tx, ty corresponding to the 2×3 affine transform:

b d ty

Parameters​

androidJvm

tagThe Android log tag (defaults to "MatrixTest").
labelA short label identifying the matrix in the log output.